home *** CD-ROM | disk | FTP | other *** search
/ Revista CD Expert 41 / CD Expert nº 41.iso / DReign2 / DR2Demo.exe / data1.cab / Files / missions / demo / Demo Mission 2.zwp / objectives_cineractives.cfg < prev    next >
Encoding:
Text File  |  2000-09-01  |  9.9 KB  |  562 lines

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright 1997-99 Pandemic Studios
  4. //
  5. // Dark Reign II
  6. //
  7. //
  8.  
  9. ///Intro cineractive
  10.  
  11. CreateObjectType("cineractive_intro", "Objective")
  12. {
  13.   GameObj();
  14.   ObjectiveObj()
  15.   {
  16.     Condition("TRUE");
  17.     Action()
  18.     {
  19.       Cineractive()
  20.       {
  21.         At(0)
  22.         {
  23.           DisableIFace(1);
  24.           DisableInput(1);
  25.           DisableShroud(1);
  26.           Fade()
  27.           {
  28.             Time(0, 3, 5);
  29.             Direction("up");
  30.           }
  31.           Text()
  32.           {
  33.             Time(1, 5, 6);
  34.             Direction("up");
  35.             Text("#missions.jda.j03.mis_name");
  36.             Font("Movie");
  37.           }
  38.         }
  39.  
  40.         At(1)
  41.         {
  42.           Action()
  43.           {
  44.             Cmd("sound.redbook.randomtrack");
  45.           }
  46.         }
  47.  
  48.         At(3)
  49.         {
  50.           SetBookmark()
  51.           {
  52.             Name("intro5");
  53.           }
  54.           Letterbox()
  55.           {
  56.             Time(0, 26, 27);
  57.             Direction("down");
  58.           }
  59.         }
  60.         At(17)
  61.         {
  62.           Action()
  63.           {
  64.             GameMessage()
  65.             {
  66.               Message("msg_destroy_shuttle");
  67.             }
  68.           }
  69.         }
  70.         At(20)
  71.         {
  72.           Action()
  73.           {
  74.             Animate()
  75.             {
  76.               Tag("Guard1");
  77.               Cycle("IDLE");
  78.             }
  79.             Animate()
  80.             {
  81.               Tag("Guard3");
  82.               Cycle("IDLE2");
  83.             }
  84.           }
  85.         }
  86.         At(21)
  87.         {
  88.           Action()
  89.           {
  90.             Animate()
  91.             {
  92.               Tag("Guard2");
  93.               Cycle("IDLE2");
  94.             }
  95.           }
  96.         }
  97.         At(23)
  98.         {
  99.           Action()
  100.           {
  101.             Animate()
  102.             {
  103.               Tag("Guard4");
  104.               Cycle("IDLE");
  105.             }
  106.             Animate()
  107.             {
  108.               Tag("Enforcer1");
  109.               Cycle("IDLE");
  110.             }
  111.             Animate()
  112.             {
  113.               Tag("Enforcer2");
  114.               Cycle("IDLE2");
  115.             }
  116.           }
  117.         }
  118.         At(25)
  119.         {
  120.           Action()
  121.           {
  122.             Animate()
  123.             {
  124.               Tag("Enforcer3");
  125.               Cycle("IDLE2");
  126.             }
  127.           }
  128.         }
  129.         At(27)
  130.         {
  131.           Action()
  132.           {
  133.             Animate()
  134.             {
  135.               Tag("Enforcer2");
  136.               Cycle("IDLE");
  137.             }
  138.             Animate()
  139.             {
  140.               Tag("Enforcer1");
  141.               Cycle("IDLE2");
  142.             }
  143.           }
  144.         }
  145.         At(28)
  146.         {
  147.           DisableShroud(0);
  148.           DefaultCamera(1)
  149.           {
  150.             Pan()
  151.             {
  152.               Region("Start");
  153.               TrackTerrain(0);
  154.               Time(1);
  155.             }
  156.           }
  157.         }
  158.         At(30)
  159.         {
  160.           EndCineractive();
  161.         }
  162.       }
  163.     }
  164.   }
  165. }
  166.  
  167. CreateObjectType("cineractive_shuttle", "Objective")
  168. {
  169.   GameObj();
  170.   ObjectiveObj()
  171.   {
  172.     Condition("Timer")
  173.     {
  174.       Time(3);
  175.     }
  176.  
  177.     Action()
  178.     {
  179.       Cineractive()
  180.       {
  181.         At(0)
  182.         {
  183.           Fade()
  184.           {
  185.             Time(1, 2, 3);
  186.             Direction("up");
  187.           }
  188.         }
  189.         At(1)
  190.         {
  191.           Action()
  192.           {
  193.             Cmd("rain.active 0");
  194.           }
  195.           Pause();
  196.         }
  197.         At(2)
  198.         {
  199.           DisableIFace(1);
  200.           DisableInput(1);
  201.           DisableShroud(1);
  202.           SetBookmark()
  203.           {
  204.             Name("shuttle");
  205.           }
  206.           Letterbox()
  207.           {
  208.             Time(0, 10.5, 10.5);
  209.             Direction("down");
  210.           }
  211.         }
  212.         At(5)
  213.         {
  214.           Action()
  215.           {
  216.             GameMessage()
  217.             {
  218.               Message("msg_traitors_fleeing");
  219.             }
  220.           }
  221.         }
  222.         At(11)
  223.         {
  224.           Fade()
  225.           {
  226.             Time(1, 2, 3);
  227.             Direction("up");
  228.           }
  229.         }
  230.         At(13)
  231.         {
  232.           DisableShroud(0);
  233.           DefaultCamera();
  234.           Unpause();
  235.           Action()
  236.           {
  237.             Cmd("rain.active 1");
  238.           }
  239.         }
  240.         At(14)
  241.         {
  242.           EndCineractive();
  243.         }
  244.       }
  245.     }
  246.   }
  247. }
  248.  
  249. CreateObjectType("cineractive_DF_online", "Objective")
  250. {
  251.   GameObj();
  252.   ObjectiveObj()
  253.   {
  254.     Condition("TRUE");
  255.  
  256.     Action()
  257.     {
  258.       Cineractive()
  259.       {
  260.         At(0)
  261.         {
  262.           Fade()
  263.           {
  264.             Time(1, 2, 3);
  265.             Direction("up");
  266.           }
  267.         }
  268.         At(2)
  269.         {
  270.           DisableIFace(1);
  271.           DisableInput(1);
  272.           DisableShroud(1);
  273.           SetBookmark()
  274.           {
  275.             Name("DF_online");
  276.           }
  277.           Letterbox()
  278.           {
  279.             Time(0, 8.5, 8.5);
  280.             Direction("down");
  281.           }
  282.           Action()
  283.           {
  284.             GameMessage()
  285.             {
  286.               Message("msg_traitors_eliminated");
  287.             }
  288.           }
  289.         }
  290.         At(5)
  291.         {
  292.           Action()
  293.           {
  294.             SetTeam()
  295.             {
  296.               Team("DF_on");
  297.               Tag("DF");
  298.             }
  299.             WallOperation()
  300.             {
  301.               Tag("DF");
  302.               Operation("AutoConnect");
  303.             }
  304.           }
  305.         }
  306.         At(9)
  307.         {
  308.           Fade()
  309.           {
  310.             Time(1, 2, 3);
  311.             Direction("up");
  312.           }
  313.         }
  314.         At(11)
  315.         {
  316.           DisableShroud(0);
  317.           DefaultCamera();
  318.         }
  319.         At(12)
  320.         {
  321.           EndCineractive();
  322.         }
  323.       }
  324.     }
  325.   }
  326. }
  327.  
  328. CreateObjectType("cineractive_you_lost", "Objective")
  329. {
  330.   GameObj();
  331.   ObjectiveObj()
  332.   {
  333.     Condition("TRUE");
  334.  
  335.     Action()
  336.     {
  337.       ObjectiveAbandoned("cineractive_outro");
  338.       Cineractive()
  339.       {
  340.         At(0)
  341.         {
  342.           Fade()
  343.           {
  344.             Time(2, 3, 5);
  345.             Direction("up");
  346.           }
  347.         }
  348.         At(3)
  349.         {
  350.           DisableIFace(1);
  351.           DisableInput(1);
  352.           DisableShroud(1);
  353.           SetBookmark()
  354.           {
  355.             Name("waterfall");
  356.           }
  357.           Letterbox()
  358.           {
  359.             Time(0, 9.5, 9.5);
  360.             Direction("down");
  361.           }
  362.         }
  363.         At(4)
  364.         {
  365.           Action()
  366.           {
  367.             GameMessage()
  368.             {
  369.               Message("msg_you_lost");
  370.             }
  371.           }
  372.         }
  373.         At(10)
  374.         {
  375.           Fade()
  376.           {
  377.             Time(2, 3, 5);
  378.             Direction("up");
  379.           }
  380.         }
  381.         At(3)
  382.         {
  383.           Pause();
  384.           Action()
  385.           {
  386.             Cmd("rain.active 0");
  387.           }
  388.         }
  389.         At(15)
  390.         {
  391.           EndCineractive();
  392.           Action()
  393.           {
  394.             Lose();
  395.           }
  396.         }
  397.       }
  398.     }
  399.   }
  400. }
  401.  
  402. CreateObjectType("cineractive_shuttle_gone", "Objective")
  403. {
  404.   GameObj();
  405.   ObjectiveObj()
  406.   {
  407.     Condition("TRUE");
  408.  
  409.     Action()
  410.     {
  411.       ObjectiveAbandoned("cineractive_outro");
  412.       Cineractive()
  413.       {
  414.         At(0)
  415.         {
  416.           Fade()
  417.           {
  418.             Time(1, 4, 6);
  419.             Direction("up");
  420.           }
  421.         }
  422.         At(1)
  423.         {
  424.           Action()
  425.           {
  426.             Delete()
  427.             {
  428.               Tag("Shuttle");
  429.             }
  430.             Op("@GC.shuttle", "=", 1);
  431.           }
  432.         }
  433.         At(4)
  434.         {
  435.           DisableIFace(1);
  436.           DisableInput(1);
  437.           DisableShroud(1);
  438.           SetCamera("PadlockCam")
  439.           {
  440.             Region("WatchShuttle");
  441.             Height(2);
  442.             Tag("ShuttleGone");
  443.           }
  444.           Letterbox()
  445.           {
  446.             Time(0, 18.5, 18.5);
  447.             Direction("down");
  448.           }
  449.         }
  450.         At(9)
  451.         {
  452.           Action()
  453.           {
  454.             GameMessage()
  455.             {
  456.               Message("msg_shuttle_gone");
  457.             }
  458.           }
  459.         }
  460.         At(19)
  461.         {
  462.           Fade()
  463.           {
  464.             Time(2, 3, 5);
  465.             Direction("up");
  466.           }
  467.           Action()
  468.           {
  469.             Cmd("rain.active 0");
  470.           }
  471.         }
  472.         At(21)
  473.         {
  474.           Pause();
  475.         }
  476.         At(22)
  477.         {
  478.           EndCineractive();
  479.           Action()
  480.           {
  481.             Lose();
  482.           }
  483.         }
  484.       }
  485.     }
  486.   }
  487. }
  488.  
  489. CreateObjectType("cineractive_outro", "Objective")
  490. {
  491.   GameObj();
  492.   ObjectiveObj()
  493.   {
  494.     Condition("TRUE");
  495.     Action()
  496.     {
  497.       ObjectiveAbandoned("objective_you_lost");
  498.       Cineractive()
  499.       {
  500.         At(0)
  501.         {
  502.           Fade()
  503.           {
  504.             Time(2, 6, 8);
  505.             Direction("up");
  506.           }
  507.         }
  508.         At(2)
  509.         {
  510.           Action()
  511.           {
  512.             Op("@Sprawlers_Hidden.outro", "=", 1);
  513.           }
  514.         }
  515.         At(6)
  516.         {
  517.           DisableIFace(1);
  518.           DisableInput(1);
  519.           DisableShroud(1);
  520.           Action()
  521.           {
  522.             GameMessage()
  523.             {
  524.               Message("msg_good_job");
  525.             }
  526.           }
  527.           SetBookmark()
  528.           {
  529.             Name("outro2");
  530.           }
  531.           Letterbox()
  532.           {
  533.             Time(0, 16.5, 16.5);
  534.             Direction("down");
  535.           }
  536.         }
  537.         At(20)
  538.         {
  539.           Fade()
  540.           {
  541.             Time(2, 3, 5);
  542.             Direction("up");
  543.           }
  544.         }
  545.         At(22)
  546.         {
  547.           Pause();
  548.           Cmd("rain.active 0");
  549.         }
  550.         At(23)
  551.         {
  552.           EndCineractive();
  553.           Action()
  554.           {
  555.             Win();
  556.           }
  557.         }
  558.       }
  559.     }
  560.   }
  561. }
  562.